package com.woniu.product.client;

import com.woniu.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(contextId = "footPrintQueryClient",name="product")
public interface FootPrintQueryClient {
    //查看用户个人足迹
    @GetMapping("getUserFootPrint")
    public Result getUserFootPrint(@RequestParam("userId") Integer userId);

}
